//
//  Person.m
//  Copy
//
//  Created by cora1n on 14-8-12.
//  Copyright (c) 2014年 devwu. All rights reserved.
//

#import "Person.h"

@implementation Person
//调用copy会执行此方法
-(id)copyWithZone:(NSZone *)zone
{
//    Person * p=  [Person allocWithZone:zone];
    [self retain];
    return self;
}
-(id)mutableCopyWithZone:(NSZone *)zone
{
    Person * p = [Person allocWithZone:zone];
    return p;
}
@end
